package com.lm.service;

import com.lm.model.LmUserLogin;
import com.meirengu.service.BaseService;

/**
 * LmUserLogin服务接口
 *
 * @author Mao
 * @create Sat May 05 16:28:14 CST 2018
 */
public interface LmUserLoginService extends BaseService<LmUserLogin> {

    LmUserLogin detailByPhone(String phone) throws Exception;

    LmUserLogin createUser(String phone, String password, String channelCode, String icode, Integer paltform, String platformCode, String ip, String userAgent) throws Exception;

    LmUserLogin detailByIcode(String icode) throws Exception;

    int updateLogin(LmUserLogin lmUserLogin, Integer paltform, String ip) throws Exception;
}
